<template>
  <div class="id">
    <router-view v-slot="props">
      <keep-alive include="home,profile">
        <component :is="props.Component"></component>
      </keep-alive>
    </router-view>
    <tab-bar v-if="!route.meta.hideTabBar" />
    <loading />
  </div>
</template>

<script setup>
import tabBar from "@/components/tab-bar/tab-bar.vue";
import loading from "./components/loading/loading.vue";
import { useRoute } from "vue-router";
const route = useRoute() 
</script>

<style lang="less" scoped></style>
